export function is_null(obj: any){
    return obj === null || obj === undefined
}

export function empty(obj: any){
    if(Array.isArray(obj)){
        return obj.length === 0
    }else if(obj){
        return false
    } else {
        return true
    }
}

export function isset(obj: any, prop: string){
    return Object.prototype.hasOwnProperty.call(obj, prop)
}

